<!DOCTYPE html>
<html lang="zh">

<head>
    <title></title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
    <link href="../css/style.css" rel="stylesheet"> </head>

<body>
    <div id="myApp">
        <h1>表单控件绑定</h1>
        <input type="text" v-model="message" placeholder="来呀，编辑我吧！">
        <p>Message is: {{ message }}</p>
        <textarea v-model="message" placeholder="加入多行编辑" rows="8" cols="34"></textarea>
    </div>
    <script>
        var myApp = new Vue({
            el: '#myApp',
            data: {
                message: "我爱马里奥",
            },
            methods: {},
        });
    </script>
</body>

</html>